body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #5d8fda;
    margin: 1em;
    box-sizing: border-box;
    padding: 0;


}


.steps,
.boxs {
    width: 1000px;
    position: relative;
}

.steps {
    display: flex;
    box-sizing: border-box;
}

.step {
    
    background: #ddd;
    width: 80px;
    height: 80px;

    margin: 0 2rem;
    border: none;
    box-shadow: 1px 4px 10px #fefefe;
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: 700;
    font-size: 2rem;
    transition: all 1s ease-in-out;
    
}

.step::before {
    width: 4rem;
    height: 20px;
    background: #ddd;
    display: inline-block;
    content: '';
    left: -4rem;
    position: absolute;
    transition: all 3s ease-in-out;
    border: none;
    
}

.steps>.step:first-child::before {
    display: none;
}

.boxs {
    height: 500px;
    margin-top: 2em;
    position: relative;
}

.box {
    position: absolute;
    margin: 0 2rem;
    top: 0rem;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: rgb(231, 210, 16);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    box-sizing: border-box;
    transition: all 1s ease-in-out;
    border-radius: 50%;
    
}

.active {
    background-color: yellow;
}

.active::before{
    background: yellow;
}